<template>
  <div>222</div>
</template>

<script>
export default {
  activated() {
    console.log(22222);
  },
  deactivated() {
    console.log("2消失");
  },
  mounted() {
    console.log("进入2");
  },
};
</script>

<style></style>
